home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.5 for Developers
/
QuickTime 1.5 for Developers.iso
/
Goodies
/
Aldus Fetch™
/
Fetch Browser
/
Fetch Browser.rsrc
/
CODE_61_APNTG.txt
< prev
next >
Wrap
Text File
|
1992-10-27
|
45KB
|
811 lines
# near model CODE resource
# jump table entries: 15280-15281 (2 of them)
fn00000000:
00000000 4E56 FFE0 link A6, -0x0020
00000004 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000008 266E 0008 movea.l A3, [A6 + 0x8]
0000000C 486E FFE8 pea.l [A6 - 0x18]
00000010 42A7 clr.l -[A7]
00000012 2F3C 02D0 0240 move.l -[A7], 0x2D00240
00000018 A8A7 syscall SetRect
0000001A 4204 clr.b D4
0000001C 7E00 moveq.l D7, 0x00
label0000001E:
0000001E 1004 move.b D0, D4
00000020 0A00 0001 xori.b D0, 0x1
00000024 4A00 tst.b D0
00000026 673E beq +0x40 /* 00000066 */
00000028 0C87 0000 02D0 cmpi.l D7, 0x2D0
0000002E 5DC1 slt D1
00000030 C001 and.b D0, D1
00000032 6732 beq +0x34 /* 00000066 */
00000034 7C00 moveq.l D6, 0x00
00000036 6024 bra +0x26 /* 0000005C */
label00000038:
00000038 2F07 move.l -[A7], D7
0000003A 7048 moveq.l D0, 0x48
0000003C 2F00 move.l -[A7], D0
0000003E 4EAD 4902 jsr [A5 + 0x4902 /* export_2332 */]
00000042 201F move.l D0, [A7]+
00000044 D08B add.l D0, A3
00000046 2206 move.l D1, D6
00000048 E581 asl D1, 2
0000004A 2841 movea.l A4, D1
0000004C D9C0 add.l A4, D0
0000004E 4A94 tst.l [A4]
00000050 6708 beq +0xA /* 0000005A */
00000052 3D47 FFE8 move.w [A6 - 0x18], D7
00000056 7801 moveq.l D4, 0x01
00000058 6008 bra +0xA /* 00000062 */
label0000005A:
0000005A 5286 addq.l D6, 1
label0000005C:
0000005C 7011 moveq.l D0, 0x11
0000005E B086 cmp.l D0, D6
00000060 6CD6 bge -0x28 /* 00000038 */
label00000062:
00000062 5287 addq.l D7, 1
00000064 60B8 bra -0x46 /* 0000001E */
label00000066:
00000066 1004 move.b D0, D4
00000068 661A bne +0x1C /* 00000084 */
0000006A 486E FFE8 pea.l [A6 - 0x18]
0000006E 42A7 clr.l -[A7]
00000070 42A7 clr.l -[A7]
00000072 A8A7 syscall SetRect
00000074 206E 000C movea.l A0, [A6 + 0xC]
00000078 43EE FFE8 lea.l A1, [A6 - 0x18]
0000007C 20D9 move.l [A0]+, [A1]+
0000007E 20D9 move.l [A0]+, [A1]+
00000080 6000 0176 bra +0x178 /* 000001F8 */
label00000084:
00000084 4204 clr.b D4
00000086 2E3C 0000 02D0 move.l D7, 0x2D0
label0000008C:
0000008C 1004 move.b D0, D4
0000008E 0A00 0001 xori.b D0, 0x1
00000092 4A00 tst.b D0
00000094 673E beq +0x40 /* 000000D4 */
00000096 4A87 tst.l D7
00000098 5EC1 sgt D1
0000009A C001 and.b D0, D1
0000009C 6736 beq +0x38 /* 000000D4 */
0000009E 5387 subq.l D7, 1
000000A0 7C00 moveq.l D6, 0x00
000000A2 6028 bra +0x2A /* 000000CC */
label000000A4:
000000A4 2F07 move.l -[A7], D7
000000A6 7048 moveq.l D0, 0x48
000000A8 2F00 move.l -[A7], D0
000000AA 4EAD 4902 jsr [A5 + 0x4902 /* export_2332 */]
000000AE 201F move.l D0, [A7]+
000000B0 D08B add.l D0, A3
000000B2 2206 move.l D1, D6
000000B4 E581 asl D1, 2
000000B6 2841 movea.l A4, D1
000000B8 D9C0 add.l A4, D0
000000BA 4A94 tst.l [A4]
000000BC 670C beq +0xE /* 000000CA */
000000BE 2007 move.l D0, D7
000000C0 5280 addq.l D0, 1
000000C2 3D40 FFEC move.w [A6 - 0x14], D0
000000C6 7801 moveq.l D4, 0x01
000000C8 60C2 bra -0x3C /* 0000008C */
label000000CA:
000000CA 5286 addq.l D6, 1
label000000CC:
000000CC 7011 moveq.l D0, 0x11
000000CE B086 cmp.l D0, D6
000000D0 6CD2 bge -0x2C /* 000000A4 */
000000D2 60B8 bra -0x46 /* 0000008C */
label000000D4:
000000D4 4204 clr.b D4
000000D6 7C00 moveq.l D6, 0x00
000000D8 6078 bra +0x7A /* 00000152 */
label000000DA:
000000DA 302E FFE8 move.w D0, [A6 - 0x18]
000000DE 48C0 ext.l D0
000000E0 322E FFEC move.w D1, [A6 - 0x14]
000000E4 5341 subq.w D1, 1
000000E6 48C1 ext.l D1
000000E8 2D41 FFE4 move.l [A6 - 0x1C], D1
000000EC 2E00 move.l D7, D0
000000EE 6054 bra +0x56 /* 00000144 */
label000000F0:
000000F0 2F07 move.l -[A7], D7
000000F2 7048 moveq.l D0, 0x48
000000F4 2F00 move.l -[A7], D0
000000F6 4EAD 4902 jsr [A5 + 0x4902 /* export_2332 */]
000000FA 201F move.l D0, [A7]+
000000FC D08B add.l D0, A3
000000FE 2206 move.l D1, D6
00000100 E581 asl D1, 2
00000102 2841 movea.l A4, D1
00000104 D9C0 add.l A4, D0
00000106 4A94 tst.l [A4]
00000108 6736 beq +0x38 /* 00000140 */
0000010A 7801 moveq.l D4, 0x01
0000010C 7A1F moveq.l D5, 0x1F
label0000010E:
0000010E 2014 move.l D0, [A4]
00000110 3205 move.w D1, D5
00000112 0300 btst D0, D1
00000114 6604 bne +0x6 /* 0000011A */
00000116 5345 subq.w D5, 1
00000118 60F4 bra -0xA /* 0000010E */
label0000011A:
0000011A 2006 move.l D0, D6
0000011C EB80 asl D0, 5
0000011E 721F moveq.l D1, 0x1F
00000120 9245 sub.w D1, D5
00000122 48C1 ext.l D1
00000124 D280 add.l D1, D0
00000126 3A01 move.w D5, D1
00000128 4A6E FFEA tst.w [A6 - 0x16]
0000012C 57C0 seq D0
0000012E 4A00 tst.b D0
00000130 660A bne +0xC /* 0000013C */
00000132 BA6E FFEA cmp.w D5, [A6 - 0x16]
00000136 5DC1 slt D1
00000138 8001 or.b D0, D1
0000013A 6704 beq +0x6 /* 00000140 */
label0000013C:
0000013C 3D45 FFEA move.w [A6 - 0x16], D5
label00000140:
00000140 5287 addq.l D7, 1
00000142 6906 bvs +0x8 /* 0000014A */
label00000144:
00000144 BEAE FFE4 cmp.l D7, [A6 - 0x1C]
00000148 6FA6 ble -0x58 /* 000000F0 */
label0000014A:
0000014A 1004 move.b D0, D4
0000014C 6702 beq +0x4 /* 00000150 */
0000014E 6008 bra +0xA /* 00000158 */
label00000150:
00000150 5286 addq.l D6, 1
label00000152:
00000152 7011 moveq.l D0, 0x11
00000154 B086 cmp.l D0, D6
00000156 6C82 bge -0x7C /* 000000DA */
label00000158:
00000158 4204 clr.b D4
0000015A 7C11 moveq.l D6, 0x11
0000015C 6000 0088 bra +0x8A /* 000001E6 */
label00000160:
00000160 302E FFE8 move.w D0, [A6 - 0x18]
00000164 48C0 ext.l D0
00000166 322E FFEC move.w D1, [A6 - 0x14]
0000016A 5341 subq.w D1, 1
0000016C 48C1 ext.l D1
0000016E 2D41 FFE0 move.l [A6 - 0x20], D1
00000172 2E00 move.l D7, D0
00000174 6062 bra +0x64 /* 000001D8 */
label00000176:
00000176 2F07 move.l -[A7], D7
00000178 7048 moveq.l D0, 0x48
0000017A 2F00 move.l -[A7], D0
0000017C 4EAD 4902 jsr [A5 + 0x4902 /* export_2332 */]
00000180 201F move.l D0, [A7]+
00000182 D08B add.l D0, A3
00000184 2206 move.l D1, D6
00000186 E581 asl D1, 2
00000188 2841 movea.l A4, D1
0000018A D9C0 add.l A4, D0
0000018C 7000 moveq.l D0, 0x00
0000018E 8094 or.l D0, [A4]
00000190 4A80 tst.l D0
00000192 6740 beq +0x42 /* 000001D4 */
00000194 7801 moveq.l D4, 0x01
00000196 4245 clr.w D5
label00000198:
00000198 2014 move.l D0, [A4]
0000019A 3205 move.w D1, D5
0000019C 0300 btst D0, D1
0000019E 6604 bne +0x6 /* 000001A4 */
000001A0 5245 addq.w D5, 1
000001A2 60F4 bra -0xA /* 00000198 */
label000001A4:
000001A4 2006 move.l D0, D6
000001A6 EB80 asl D0, 5
000001A8 721F moveq.l D1, 0x1F
000001AA 9245 sub.w D1, D5
000001AC 48C1 ext.l D1
000001AE D280 add.l D1, D0
000001B0 3A01 move.w D5, D1
000001B2 0C6E 0240 FFEE cmpi.w [A6 - 0x12], 0x240
000001B8 57C0 seq D0
000001BA 4A00 tst.b D0
000001BC 660E bne +0x10 /* 000001CC */
000001BE 3205 move.w D1, D5
000001C0 5241 addq.w D1, 1
000001C2 B26E FFEE cmp.w D1, [A6 - 0x12]
000001C6 5EC1 sgt D1
000001C8 8001 or.b D0, D1
000001CA 6708 beq +0xA /* 000001D4 */
label000001CC:
000001CC 3005 move.w D0, D5
000001CE 5240 addq.w D0, 1
000001D0 3D40 FFEE move.w [A6 - 0x12], D0
label000001D4:
000001D4 5287 addq.l D7, 1
000001D6 6906 bvs +0x8 /* 000001DE */
label000001D8:
000001D8 BEAE FFE0 cmp.l D7, [A6 - 0x20]
000001DC 6F98 ble -0x66 /* 00000176 */
label000001DE:
000001DE 1004 move.b D0, D4
000001E0 6702 beq +0x4 /* 000001E4 */
000001E2 6008 bra +0xA /* 000001EC */
label000001E4:
000001E4 5386 subq.l D6, 1
label000001E6:
000001E6 4A86 tst.l D6
000001E8 6C00 FF76 bge -0x88 /* 00000160 */
label000001EC:
000001EC 206E 000C movea.l A0, [A6 + 0xC]
000001F0 43EE FFE8 lea.l A1, [A6 - 0x18]
000001F4 20D9 move.l [A0]+, [A1]+
000001F6 20D9 move.l [A0]+, [A1]+
label000001F8:
000001F8 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
000001FC 4E5E unlink A6
000001FE 2E9F move.l [A7], [A7]+
00000200 4E75 rts
00000202 8C47 or.w D6, D7
00000204 4554 chk.w D2, [A4]
00000206 494D chk.w D4, A5
00000208 4147 chk.w D0, D7
0000020A 4552 chk.w D2, [A2]
0000020C 4543 chk.w D2, D3
0000020E 5400 addq.b D0, 2
00000210 0000 0000 ori.b D0, 0x0
00000214 4E56 0000 link A6, 0
00000218 2F0C move.l -[A7], A4
0000021A 286E 0008 movea.l A4, [A6 + 0x8]
0000021E 206C 0010 movea.l A0, [A4 + 0x10]
00000222 4A90 tst.l [A0]
00000224 670C beq +0xE /* 00000232 */
00000226 2F10 move.l -[A7], [A0]
00000228 A8F5 syscall KillPicture
0000022A 206C 0010 movea.l A0, [A4 + 0x10]
0000022E 7000 moveq.l D0, 0x00
00000230 2080 move.l [A0], D0
label00000232:
00000232 4AAC FFBA tst.l [A4 - 0x46]
00000236 6708 beq +0xA /* 00000240 */
00000238 2F2C FFBA move.l -[A7], [A4 - 0x46]
0000023C 205F movea.l A0, [A7]+
0000023E A01F syscall DisposPtr/DisposePtr
label00000240:
00000240 4AAC FFB6 tst.l [A4 - 0x4A]
00000244 6708 beq +0xA /* 0000024E */
00000246 2F2C FFB6 move.l -[A7], [A4 - 0x4A]
0000024A 205F movea.l A0, [A7]+
0000024C A01F syscall DisposPtr/DisposePtr
label0000024E:
0000024E 4AAC FF96 tst.l [A4 - 0x6A]
00000252 6706 beq +0x8 /* 0000025A */
00000254 2F2C FF96 move.l -[A7], [A4 - 0x6A]
00000258 A8D9 syscall DisposRgn/DisposeRgn
label0000025A:
0000025A 396E 0010 FFC0 move.w [A4 - 0x40], [A6 + 0x10]
00000260 206E 0008 movea.l A0, [A6 + 0x8]
00000264 2C48 movea.l A6, A0
00000266 4EFA 03BC jmp [PC + 0x3BC /* 00000624 */]
0000026A 0000 285F ori.b D0, 0x5F /* '_' */
0000026E 4E5E unlink A6
00000270 205F movea.l A0, [A7]+
00000272 DEFC 000A add.w A7, 0xA /* '\n' */
00000276 4ED0 jmp [A0]
00000278 8D48 414E pack -[A6], -[A0], 0x414E
0000027C 444C neg.w A4
0000027E 4546 chk.w D2, D6
00000280 4149 chk.w D0, A1
00000282 4C55 5245 movem.l D0,D2,D6,A1,A4,A6, [A5]
00000286 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000288-0000028C
fn00000288:
00000288 4E56 FF74 link A6, -0x008C
// end alternate branch 00000288-0000028C
fn00000288: // (misaligned)
0000028A FF74 .extension 0xF74 <<F/4-5/7>> // unimplemented
0000028C 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00000290 4EAD 3782 jsr [A5 + 0x3782 /* export_1772 */]
00000294 426E FFC0 clr.w [A6 - 0x40]
00000298 206E 0010 movea.l A0, [A6 + 0x10]
0000029C 7000 moveq.l D0, 0x00
0000029E 2080 move.l [A0], D0
000002A0 206E 000C movea.l A0, [A6 + 0xC]
000002A4 43EE FF8E lea.l A1, [A6 - 0x72]
000002A8 22D8 move.l [A1]+, [A0]+
000002AA 22D8 move.l [A1]+, [A0]+
000002AC 206E 000C movea.l A0, [A6 + 0xC]
000002B0 43EE FF86 lea.l A1, [A6 - 0x7A]
000002B4 22D8 move.l [A1]+, [A0]+
000002B6 22D8 move.l [A1]+, [A0]+
000002B8 206E 0008 movea.l A0, [A6 + 0x8]
000002BC 30BC 0001 move.w [A0], 0x1
000002C0 7000 moveq.l D0, 0x00
000002C2 2D40 FF96 move.l [A6 - 0x6A], D0
000002C6 7000 moveq.l D0, 0x00
000002C8 2D40 FFB6 move.l [A6 - 0x4A], D0
000002CC 7000 moveq.l D0, 0x00
000002CE 2D40 FFBA move.l [A6 - 0x46], D0
000002D2 486E FFC2 pea.l [A6 - 0x3E]
000002D6 487A FF3C pea.l [PC - 0xC4 /* 00000214, value 0x4E560000 'NV\0\0', cstring "NV" */]
000002DA 2F0E move.l -[A7], A6
000002DC 4EAD 2052 jsr [A5 + 0x2052 /* export_1030 */]
000002E0 42A7 clr.l -[A7]
000002E2 2F3C 0000 CE80 move.l -[A7], 0xCE80
000002E8 4EAD 3DE2 jsr [A5 + 0x3DE2 /* export_1976 */]
000002EC 2D57 FFBA move.l [A6 - 0x46], [A7]
000002F0 4EAD 206A jsr [A5 + 0x206A /* export_1033 */]
000002F4 4267 clr.w -[A7]
000002F6 3F2E 0018 move.w -[A7], [A6 + 0x18]
000002FA 486E FFAA pea.l [A6 - 0x56]
000002FE 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
00000302 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
00000306 04AE 0000 0200 FFAA subi.l [A6 - 0x56], 0x200
0000030E 4267 clr.w -[A7]
00000310 3F2E 0018 move.w -[A7], [A6 + 0x18]
00000314 3F3C 0001 move.w -[A7], 0x1
00000318 2F3C 0000 0200 move.l -[A7], 0x200
0000031E 4EAD 03AA jsr [A5 + 0x3AA /* export_113 */]
00000322 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
00000326 42A7 clr.l -[A7]
00000328 2F2E FFAA move.l -[A7], [A6 - 0x56]
0000032C 4EAD 233A jsr [A5 + 0x233A /* export_1123 */]
00000330 2D57 FFB6 move.l [A6 - 0x4A], [A7]
00000334 4EAD 206A jsr [A5 + 0x206A /* export_1033 */]
00000338 4267 clr.w -[A7]
0000033A 3F2E 0018 move.w -[A7], [A6 + 0x18]
0000033E 486E FFAA pea.l [A6 - 0x56]
00000342 2F2E FFB6 move.l -[A7], [A6 - 0x4A]
00000346 4EAD 0352 jsr [A5 + 0x352 /* export_102 */]
0000034A 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
0000034E 2D6E FFB6 FFAE move.l [A6 - 0x52], [A6 - 0x4A]
00000354 2D6E FFBA FFB2 move.l [A6 - 0x4E], [A6 - 0x46]
0000035A 426E FF9A clr.w [A6 - 0x66]
0000035E 6030 bra +0x32 /* 00000390 */
label00000360:
00000360 4EAD 3782 jsr [A5 + 0x3782 /* export_1772 */]
00000364 302E FF9A move.w D0, [A6 - 0x66]
00000368 48C0 ext.l D0
0000036A 7248 moveq.l D1, 0x48
0000036C 2F01 move.l -[A7], D1
0000036E 2F00 move.l -[A7], D0
00000370 4EAD 4902 jsr [A5 + 0x4902 /* export_2332 */]
00000374 201F move.l D0, [A7]+
00000376 D0AE FFBA add.l D0, [A6 - 0x46]
0000037A 2D40 FFB2 move.l [A6 - 0x4E], D0
0000037E 486E FFAE pea.l [A6 - 0x52]
00000382 486E FFB2 pea.l [A6 - 0x4E]
00000386 3F3C 0048 move.w -[A7], 0x48 /* 'H' */
0000038A A8D0 syscall UnpackBits
0000038C 526E FF9A addq.w [A6 - 0x66], 1
label00000390:
00000390 0C6E 02CF FF9A cmpi.w [A6 - 0x66], 0x2CF
00000396 6FC8 ble -0x36 /* 00000360 */
00000398 2F2E FFB6 move.l -[A7], [A6 - 0x4A]
0000039C 205F movea.l A0, [A7]+
0000039E A01F syscall DisposPtr/DisposePtr
000003A0 7000 moveq.l D0, 0x00
000003A2 2D40 FFB6 move.l [A6 - 0x4A], D0
000003A6 2D6E FFBA FF9C move.l [A6 - 0x64], [A6 - 0x46]
000003AC 3D7C 0048 FFA0 move.w [A6 - 0x60], 0x48 /* 'H' */
000003B2 486E FFA2 pea.l [A6 - 0x5E]
000003B6 42A7 clr.l -[A7]
000003B8 2F3C 02D0 0240 move.l -[A7], 0x2D00240
000003BE A8A7 syscall SetRect
000003C0 700A moveq.l D0, 0x0A
000003C2 6B1A bmi +0x1C /* 000003DE */
000003C4 206E 0014 movea.l A0, [A6 + 0x14]
000003C8 B07C 003F cmp.w D0, 0x3F /* '?' */
000003CC 6E10 bgt +0x12 /* 000003DE */
000003CE 5088 addq.l A0, 8
000003D0 3200 move.w D1, D0
000003D2 E649 lsr D1.w, 3
000003D4 4441 neg.w D1
000003D6 0130 10FF btst [A0 + D1.w - 0x1], D0
000003DA 0A3C 0004 xori.b ccr, 4
label000003DE:
000003DE 6638 bne +0x3A /* 00000418 */
000003E0 206E 000C movea.l A0, [A6 + 0xC]
000003E4 2F08 move.l -[A7], A0
000003E6 486E FF74 pea.l [A6 - 0x8C]
000003EA 2F2E FFBA move.l -[A7], [A6 - 0x46]
000003EE 4EBA FC10 jsr [PC - 0x3F0 /* 00000000 */]
000003F2 201F move.l D0, [A7]+
000003F4 205F movea.l A0, [A7]+
000003F6 2240 movea.l A1, D0
000003F8 20D9 move.l [A0]+, [A1]+
000003FA 20D9 move.l [A0]+, [A1]+
000003FC 4267 clr.w -[A7]
000003FE 2F2E 000C move.l -[A7], [A6 + 0xC]
00000402 A8AE syscall EmptyRect
00000404 101F move.b D0, [A7]+
00000406 671E beq +0x20 /* 00000426 */
00000408 2F2E 000C move.l -[A7], [A6 + 0xC]
0000040C 42A7 clr.l -[A7]
0000040E 2F3C 02D0 0240 move.l -[A7], 0x2D00240
00000414 A8A7 syscall SetRect
00000416 600E bra +0x10 /* 00000426 */
label00000418:
00000418 2F2E 000C move.l -[A7], [A6 + 0xC]
0000041C 42A7 clr.l -[A7]
0000041E 2F3C 02D0 0240 move.l -[A7], 0x2D00240
00000424 A8A7 syscall SetRect
label00000426:
00000426 700E moveq.l D0, 0x0E
00000428 6B1A bmi +0x1C /* 00000444 */
0000042A 206E 0014 movea.l A0, [A6 + 0x14]
0000042E B07C 003F cmp.w D0, 0x3F /* '?' */
00000432 6E10 bgt +0x12 /* 00000444 */
00000434 5088 addq.l A0, 8
00000436 3200 move.w D1, D0
00000438 E649 lsr D1.w, 3
0000043A 4441 neg.w D1
0000043C 0130 10FF btst [A0 + D1.w - 0x1], D0
00000440 0A3C 0004 xori.b ccr, 4
label00000444:
00000444 661C bne +0x1E /* 00000462 */
00000446 486E FF86 pea.l [A6 - 0x7A]
0000044A 206E 000C movea.l A0, [A6 + 0xC]
0000044E 3F28 0002 move.w -[A7], [A0 + 0x2]
00000452 3F10 move.w -[A7], [A0]
00000454 A8A8 syscall OffsetRect
00000456 206E 000C movea.l A0, [A6 + 0xC]
0000045A 43EE FF86 lea.l A1, [A6 - 0x7A]
0000045E 20D9 move.l [A0]+, [A1]+
00000460 20D9 move.l [A0]+, [A1]+
label00000462:
00000462 700B moveq.l D0, 0x0B
00000464 6B1A bmi +0x1C /* 00000480 */
00000466 206E 0014 movea.l A0, [A6 + 0x14]
0000046A B07C 003F cmp.w D0, 0x3F /* '?' */
0000046E 6E10 bgt +0x12 /* 00000480 */
00000470 5088 addq.l A0, 8
00000472 3200 move.w D1, D0
00000474 E649 lsr D1.w, 3
00000476 4441 neg.w D1
00000478 0130 10FF btst [A0 + D1.w - 0x1], D0
0000047C 0A3C 0004 xori.b ccr, 4
label00000480:
00000480 660C bne +0xE /* 0000048E */
00000482 206E 0010 movea.l A0, [A6 + 0x10]
00000486 7000 moveq.l D0, 0x00
00000488 2080 move.l [A0], D0
0000048A 6000 0124 bra +0x126 /* 000005B0 */
label0000048E:
0000048E 4267 clr.w -[A7]
00000490 1F3C 0001 move.b -[A7], 0x1
00000494 4EAD 2342 jsr [A5 + 0x2342 /* export_1124 */]
00000498 1D5F FFBF move.b [A6 - 0x41], [A7]+
0000049C 42A7 clr.l -[A7]
0000049E A8D8 syscall NewRgn
000004A0 2D5F FF96 move.l [A6 - 0x6A], [A7]+
000004A4 4267 clr.w -[A7]
000004A6 1F2E FFBF move.b -[A7], [A6 - 0x41]
000004AA 4EAD 2342 jsr [A5 + 0x2342 /* export_1124 */]
000004AE 1D5F FFBF move.b [A6 - 0x41], [A7]+
000004B2 2F2E FF96 move.l -[A7], [A6 - 0x6A]
000004B6 4EAD 206A jsr [A5 + 0x206A /* export_1033 */]
000004BA 2F2E FF96 move.l -[A7], [A6 - 0x6A]
000004BE A87A syscall GetClip
000004C0 4267 clr.w -[A7]
000004C2 1F3C 0001 move.b -[A7], 0x1
000004C6 4EAD 2342 jsr [A5 + 0x2342 /* export_1124 */]
000004CA 1D5F FFBF move.b [A6 - 0x41], [A7]+
000004CE 206E 0010 movea.l A0, [A6 + 0x10]
000004D2 2F08 move.l -[A7], A0
000004D4 42A7 clr.l -[A7]
000004D6 2F2E 000C move.l -[A7], [A6 + 0xC]
000004DA A8F3 syscall OpenPicture
000004DC 201F move.l D0, [A7]+
000004DE 205F movea.l A0, [A7]+
000004E0 2080 move.l [A0], D0
000004E2 4267 clr.w -[A7]
000004E4 1F2E FFBF move.b -[A7], [A6 - 0x41]
000004E8 4EAD 2342 jsr [A5 + 0x2342 /* export_1124 */]
000004EC 1D5F FFBF move.b [A6 - 0x41], [A7]+
000004F0 206E 0010 movea.l A0, [A6 + 0x10]
000004F4 2F10 move.l -[A7], [A0]
000004F6 4EAD 206A jsr [A5 + 0x206A /* export_1033 */]
000004FA A89E syscall PenNormal
000004FC 2F2E 000C move.l -[A7], [A6 + 0xC]
00000500 A87B syscall ClipRect
00000502 7021 moveq.l D0, 0x21
00000504 2F00 move.l -[A7], D0
00000506 A862 syscall ForeColor
00000508 701E moveq.l D0, 0x1E
0000050A 2F00 move.l -[A7], D0
0000050C A863 syscall BackColor
0000050E 4267 clr.w -[A7]
00000510 206E 0014 movea.l A0, [A6 + 0x14]
00000514 5088 addq.l A0, 8
00000516 2F20 move.l -[A7], -[A0]
00000518 2F20 move.l -[A7], -[A0]
0000051A 3F3C 0008 move.w -[A7], 0x8
0000051E 41FA 0136 lea.l A0, [PC + 0x136 /* 00000656, value 0x4E56 'NV', cstring "" */]
00000522 2F20 move.l -[A7], -[A0]
00000524 2F20 move.l -[A7], -[A0]
00000526 3F3C 0008 move.w -[A7], 0x8
0000052A 4EAD 492A jsr [A5 + 0x492A /* export_2337 */]
0000052E 548F addq.l A7, 2
00000530 4EAD 3792 jsr [A5 + 0x3792 /* export_1774 */]
00000534 101F move.b D0, [A7]+
00000536 671E beq +0x20 /* 00000556 */
00000538 486E FF9C pea.l [A6 - 0x64]
0000053C 206D FE3A movea.l A0, [A5 - 0x1C6]
00000540 4868 0002 pea.l [A0 + 0x2]
00000544 2F2E 000C move.l -[A7], [A6 + 0xC]
00000548 2F2E 000C move.l -[A7], [A6 + 0xC]
0000054C 3F3C 0040 move.w -[A7], 0x40 /* '@' */
00000550 42A7 clr.l -[A7]
00000552 A8EC syscall CopyBits
00000554 601A bra +0x1C /* 00000570 */
label00000556:
00000556 486E FF9C pea.l [A6 - 0x64]
0000055A 206D FE3A movea.l A0, [A5 - 0x1C6]
0000055E 4868 0002 pea.l [A0 + 0x2]
00000562 2F2E 000C move.l -[A7], [A6 + 0xC]
00000566 2F2E 000C move.l -[A7], [A6 + 0xC]
0000056A 4267 clr.w -[A7]
0000056C 42A7 clr.l -[A7]
0000056E A8EC syscall CopyBits
label00000570:
00000570 A8F4 syscall ClosePicture
00000572 2F2E FF96 move.l -[A7], [A6 - 0x6A]
00000576 A879 syscall SetClip
00000578 2F2E FF96 move.l -[A7], [A6 - 0x6A]
0000057C A8D9 syscall DisposRgn/DisposeRgn
0000057E 7000 moveq.l D0, 0x00
00000580 2D40 FF96 move.l [A6 - 0x6A], D0
00000584 4267 clr.w -[A7]
00000586 206E 0010 movea.l A0, [A6 + 0x10]
0000058A 2050 movea.l A0, [A0]
0000058C 2050 movea.l A0, [A0]
0000058E 4868 0002 pea.l [A0 + 0x2]
00000592 A8AE syscall EmptyRect
00000594 101F move.b D0, [A7]+
00000596 6706 beq +0x8 /* 0000059E */
00000598 42A7 clr.l -[A7]
0000059A 4EAD 206A jsr [A5 + 0x206A /* export_1033 */]
label0000059E:
0000059E 206E 0010 movea.l A0, [A6 + 0x10]
000005A2 2050 movea.l A0, [A0]
000005A4 2050 movea.l A0, [A0]
000005A6 226E 000C movea.l A1, [A6 + 0xC]
000005AA 5488 addq.l A0, 2
000005AC 22D8 move.l [A1]+, [A0]+
000005AE 22D8 move.l [A1]+, [A0]+
label000005B0:
000005B0 7018 moveq.l D0, 0x18
000005B2 6B1A bmi +0x1C /* 000005CE */
000005B4 206E 0014 movea.l A0, [A6 + 0x14]
000005B8 B07C 003F cmp.w D0, 0x3F /* '?' */
000005BC 6E10 bgt +0x12 /* 000005CE */
000005BE 5088 addq.l A0, 8
000005C0 3200 move.w D1, D0
000005C2 E649 lsr D1.w, 3
000005C4 4441 neg.w D1
000005C6 0130 10FF btst [A0 + D1.w - 0x1], D0
000005CA 0A3C 0004 xori.b ccr, 4
label000005CE:
000005CE 6630 bne +0x32 /* 00000600 */
000005D0 486E FF9C pea.l [A6 - 0x64]
000005D4 206E 0014 movea.l A0, [A6 + 0x14]
000005D8 5088 addq.l A0, 8
000005DA 2F20 move.l -[A7], -[A0]
000005DC 2F20 move.l -[A7], -[A0]
000005DE 3F3C 0008 move.w -[A7], 0x8
000005E2 41FA 0072 lea.l A0, [PC + 0x72 /* 00000656, value 0x4E56 'NV', cstring "" */]
000005E6 2F20 move.l -[A7], -[A0]
000005E8 2F20 move.l -[A7], -[A0]
000005EA 3F3C 0008 move.w -[A7], 0x8
000005EE 4EAD 492A jsr [A5 + 0x492A /* export_2337 */]
000005F2 548F addq.l A7, 2
000005F4 2F2E 000C move.l -[A7], [A6 + 0xC]
000005F8 486E FF8E pea.l [A6 - 0x72]
000005FC 4EAD 379A jsr [A5 + 0x379A /* export_1775 */]
label00000600:
00000600 486E FFC2 pea.l [A6 - 0x3E]
00000604 4EAD 209A jsr [A5 + 0x209A /* export_1039 */]
00000608 4AAE FFBA tst.l [A6 - 0x46]
0000060C 6708 beq +0xA /* 00000616 */
0000060E 2F2E FFBA move.l -[A7], [A6 - 0x46]
00000612 205F movea.l A0, [A7]+
00000614 A01F syscall DisposPtr/DisposePtr
label00000616:
00000616 4AAE FFB6 tst.l [A6 - 0x4A]
0000061A 6708 beq +0xA /* 00000624 */
0000061C 2F2E FFB6 move.l -[A7], [A6 - 0x4A]
00000620 205F movea.l A0, [A7]+
00000622 A01F syscall DisposPtr/DisposePtr
label00000624:
00000624 4FEE FF54 lea.l A7, [A6 - 0xAC]
00000628 3D6E FFC0 001A move.w [A6 + 0x1A], [A6 - 0x40]
0000062E 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00000632 4E5E unlink A6
00000634 205F movea.l A0, [A7]+
00000636 DEFC 0012 add.w A7, 0x12
0000063A 4ED0 jmp [A0]
0000063C 8E49 or.w D7, A1
0000063E 4D50 chk.w D6, [A0]
00000640 4F52 chk.w D7, [A2]
00000642 544F addq.w A7, 2
00000644 5045 addq.w D5, 8
00000646 4E50 4E54 link A0, -0xFFFFB1AC
0000064A 4700 .invalid 3, D0 // invalid opcode 4 with b == 4
0000064C 0008 FF80 ori.b A0, 0x80
00000650 0000 0000 ori.b D0, 0x0
00000654 0000 0000 ori.b D0, 0x0
00000658 4E56 0000 link A6, 0
0000065C 2F0C move.l -[A7], A4
0000065E 286E 0008 movea.l A4, [A6 + 0x8]
00000662 206C 0010 movea.l A0, [A4 + 0x10]
00000666 4A90 tst.l [A0]
00000668 670C beq +0xE /* 00000676 */
0000066A 2F10 move.l -[A7], [A0]
0000066C A8F5 syscall KillPicture
0000066E 206C 0010 movea.l A0, [A4 + 0x10]
00000672 7000 moveq.l D0, 0x00
00000674 2080 move.l [A0], D0
label00000676:
00000676 4A6C FF78 tst.w [A4 - 0x88]
0000067A 670E beq +0x10 /* 0000068A */
0000067C 4267 clr.w -[A7]
0000067E 3F2C FF78 move.w -[A7], [A4 - 0x88]
00000682 4EAD 034A jsr [A5 + 0x34A /* export_101 */]
00000686 395F FF7A move.w [A4 - 0x86], [A7]+
label0000068A:
0000068A 396E 0010 FF7A move.w [A4 - 0x86], [A6 + 0x10]
00000690 206E 0008 movea.l A0, [A6 + 0x8]
00000694 2C48 movea.l A6, A0
00000696 4EFA 00BA jmp [PC + 0xBA /* 00000752 */]
0000069A 0000 285F ori.b D0, 0x5F /* '_' */
0000069E 4E5E unlink A6
000006A0 205F movea.l A0, [A7]+
000006A2 DEFC 000A add.w A7, 0xA /* '\n' */
000006A6 4ED0 jmp [A0]
000006A8 8D48 414E pack -[A6], -[A0], 0x414E
000006AC 444C neg.w A4
000006AE 4546 chk.w D2, D6
000006B0 4149 chk.w D0, A1
000006B2 4C55 5245 movem.l D0,D2,D6,A1,A4,A6, [A5]
000006B6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_1910: // at 000006B8 (misaligned)
000006BA FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
000006BC 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000006C0 206E 0018 movea.l A0, [A6 + 0x18]
000006C4 43EE FFBA lea.l A1, [A6 - 0x46]
000006C8 7010 moveq.l D0, 0x10
label000006CA:
000006CA 22D8 move.l [A1]+, [A0]+
000006CC 51C8 FFFC dbf D0, -0x6 /* 000006CA */
000006D0 3290 move.w [A1], [A0]
000006D2 4EAD 3782 jsr [A5 + 0x3782 /* export_1772 */]
000006D6 426E FF7A clr.w [A6 - 0x86]
000006DA 206E 0010 movea.l A0, [A6 + 0x10]
000006DE 7000 moveq.l D0, 0x00
000006E0 2080 move.l [A0], D0
000006E2 426E FF78 clr.w [A6 - 0x88]
000006E6 486E FF7C pea.l [A6 - 0x84]
000006EA 487A FF6C pea.l [PC - 0x94 /* 00000658, value 0x4E560000 'NV\0\0', cstring "NV" */]
000006EE 2F0E move.l -[A7], A6
000006F0 4EAD 2052 jsr [A5 + 0x2052 /* export_1030 */]
000006F4 4267 clr.w -[A7]
000006F6 3F2E FFBA move.w -[A7], [A6 - 0x46]
000006FA 2F2E FFBC move.l -[A7], [A6 - 0x44]
000006FE 41EE FFC0 lea.l A0, [A6 - 0x40]
00000702 1F10 move.b -[A7], [A0]
00000704 3F3C 00FF move.w -[A7], 0xFF
00000708 4EAD 4922 jsr [A5 + 0x4922 /* export_2336 */]
0000070C 2F08 move.l -[A7], A0
0000070E 1F3C 0001 move.b -[A7], 0x1
00000712 486E FF78 pea.l [A6 - 0x88]
00000716 4EAD 0462 jsr [A5 + 0x462 /* export_136 */]
0000071A 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
0000071E 4267 clr.w -[A7]
00000720 3F2E FF78 move.w -[A7], [A6 - 0x88]
00000724 2F2E 0014 move.l -[A7], [A6 + 0x14]
00000728 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000072C 2F2E 000C move.l -[A7], [A6 + 0xC]
00000730 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000734 4EBA FB52 jsr [PC - 0x4AE /* 00000288 */]
00000738 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
0000073C 4267 clr.w -[A7]
0000073E 3F2E FF78 move.w -[A7], [A6 - 0x88]
00000742 4EAD 034A jsr [A5 + 0x34A /* export_101 */]
00000746 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
0000074A 486E FF7C pea.l [A6 - 0x84]
0000074E 4EAD 209A jsr [A5 + 0x209A /* export_1039 */]
label00000752:
00000752 4FEE FF58 lea.l A7, [A6 - 0xA8]
00000756 3D6E FF7A 001C move.w [A6 + 0x1C], [A6 - 0x86]
0000075C 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00000760 4E5E unlink A6
00000762 205F movea.l A0, [A7]+
00000764 DEFC 0014 add.w A7, 0x14
00000768 4ED0 jmp [A0]
0000076A 8A49 or.w D5, A1
0000076C 4D50 chk.w D6, [A0]
0000076E 4F52 chk.w D7, [A2]
00000770 5450 addq.w [A0], 2
00000772 4E54 4700 link A4, -0xFFFFB900
00000776 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000778-0000077C
fn00000778:
00000778 4E56 FFB8 link A6, -0x0048
// end alternate branch 00000778-0000077C
fn00000778: // (misaligned)
0000077A FFB8 .invalid <<F/6/7>>
0000077C 48E7 0108 movem.l -[A7], D7,A4
00000780 206E 0014 movea.l A0, [A6 + 0x14]
00000784 43EE FFBA lea.l A1, [A6 - 0x46]
00000788 7010 moveq.l D0, 0x10
label0000078A:
0000078A 22D8 move.l [A1]+, [A0]+
0000078C 51C8 FFFC dbf D0, -0x6 /* 0000078A */
00000790 3290 move.w [A1], [A0]
00000792 286E 0008 movea.l A4, [A6 + 0x8]
00000796 4247 clr.w D7
00000798 38BC 0001 move.w [A4], 0x1
0000079C 397C 0048 0004 move.w [A4 + 0x4], 0x48 /* 'H' */
000007A2 397C 0048 0002 move.w [A4 + 0x2], 0x48 /* 'H' */
000007A8 297C 0000 0001 0006 move.l [A4 + 0x6], 0x1
000007B0 3D47 0018 move.w [A6 + 0x18], D7
000007B4 4CDF 1080 movem.l D7,A4, [A7]+
000007B8 4E5E unlink A6
000007BA 205F movea.l A0, [A7]+
000007BC DEFC 0010 add.w A7, 0x10
000007C0 4ED0 jmp [A0]
000007C2 9249 sub.w D1, A1
000007C4 4D50 chk.w D6, [A0]
000007C6 4F52 chk.w D7, [A2]
000007C8 544F addq.w A7, 2
000007CA 5045 addq.w D5, 8
000007CC 4E50 4E54 link A0, -0xFFFFB1AC
000007D0 4749 chk.w D3, A1
000007D2 4E46 trap 6
000007D4 4F00 .invalid 7, D0 // invalid opcode 4 with b == 4
000007D6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_1911: // at 000007D8 (misaligned)
000007DA FFBA .invalid <<F/6/7>>
000007DC 206E 0014 movea.l A0, [A6 + 0x14]
000007E0 43EE FFBA lea.l A1, [A6 - 0x46]
000007E4 7010 moveq.l D0, 0x10
label000007E6:
000007E6 22D8 move.l [A1]+, [A0]+
000007E8 51C8 FFFC dbf D0, -0x6 /* 000007E6 */
000007EC 3290 move.w [A1], [A0]
000007EE 4267 clr.w -[A7]
000007F0 486E FFBA pea.l [A6 - 0x46]
000007F4 41EE 0014 lea.l A0, [A6 + 0x14]
000007F8 2F20 move.l -[A7], -[A0]
000007FA 2F20 move.l -[A7], -[A0]
000007FC 3F3C 0008 move.w -[A7], 0x8
00000800 41FA 0040 lea.l A0, [PC + 0x40 /* 00000842, cstring "" */]
00000804 2F20 move.l -[A7], -[A0]
00000806 2F20 move.l -[A7], -[A0]
00000808 3F3C 0008 move.w -[A7], 0x8
0000080C 4EAD 492A jsr [A5 + 0x492A /* export_2337 */]
00000810 548F addq.l A7, 2
00000812 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000816 4EBA FF60 jsr [PC - 0xA0 /* 00000778 */]
0000081A 3D5F 0018 move.w [A6 + 0x18], [A7]+
0000081E 4E5E unlink A6
00000820 205F movea.l A0, [A7]+
00000822 DEFC 0010 add.w A7, 0x10
00000826 4ED0 jmp [A0]
00000828 8E49 or.w D7, A1
0000082A 4D50 chk.w D6, [A0]
0000082C 4F52 chk.w D7, [A2]
0000082E 5450 addq.w [A0], 2
00000830 4E54 4749 link A4, -0xFFFFB8B7
00000834 4E46 trap 6
00000836 4F00 .invalid 7, D0 // invalid opcode 4 with b == 4
00000838 0008 FF80 ori.b A0, 0x80
0000083C 0000 0000 ori.b D0, 0x0
00000840 0000 0000 ori.b D0, 0x0